package com.zhuang.service.impl;

import com.zhuang.dao.UserDao;
import com.zhuang.service.UserService;

/**
 * @Classname UserServiceImpl
 * @Description 业务层实现类
 * @Date 2021/4/1 15:38
 * @Created by dell
 */

public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }


    @Override
    public void add() {
        System.out.println("userServiceImpl...被调用了");
        userDao.add();
    }
}
